package cn.iocoder.yudao.module.wine.controller.admin.guaranteerecord.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 保证金记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class GuaranteeRecordPageReqVO extends PageParam {

    @Schema(description = "用户id", example = "22758")
    private Long userId;

    @Schema(description = "保证金金额", example = "30079")
    private BigDecimal guaranteePrice;

    @Schema(description = "状态 0 未支付 1 已支付  2已退", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "交易号")
    private String tradeNo;

    @Schema(description = "交易时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] tradeTime;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    /**
     * 截止时间
     */
    @Schema(description = "截止时间")
    private LocalDateTime endTime;

}